﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Schedule
{
    class Course
    {
        public long CourseID { set; get; }
        public string Name { set; get; }
        public int Weekday { set; get; }
        public int BeginLesson { set; get; }
        public int LastLesson { set; get; }

        public static List<Course> courses = new List<Course>();
        public Course(long courseID, string name, int weekday, int beginLesson, int lastLesson)
        {
            CourseID = courseID;
            Name = name;
            Weekday = weekday;
            BeginLesson = beginLesson;
            LastLesson =lastLesson;
        }
    }
}
